(global.webpackJsonp = global.webpackJsonp || []).push([ [ "xg_o2o/distribution/cashlist" ], {
    "0e4e": function(e, t, n) {
        "use strict";
        (function(e) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var n = {
                data: function() {
                    return {
                        graceFullLoading: !0,
                        bottomColor: "",
                        isadmin: 0,
                        personnels: [],
                        percate: [],
                        orderItemList: [],
                        emptyMsg: "",
                        attach: "",
                        loadingType: 0,
                        tempItem: [],
                        page: 1,
                        pageMore: 0,
                        tempPageMore: 0,
                        userWxInfo: {},
                        sharetitle: "",
                        shareimg: "",
                        shareid: "",
                        showBack: !1
                    };
                },
                onLoad: function(e) {
                    var t = getCurrentPages();
                    this.showBack = t.length > 1, this.loadData(1);
                },
                methods: {
                    loadData: function(t) {
                        var n = this;
                        if (1 == this.pageMore) return 1 == t ? this.graceFullLoading = !1 : e.hideLoading(), 
                        void (this.loadingType = 2);
                        1 == t ? this.graceFullLoading = !0 : e.showLoading({
                            title: "数据加载中"
                        }), this.loadingType = 1;
                        var a = this.$xSign.sign("v4distribution");
                        this.$xRequest.request({
                            url: "entry/wxapp/v4distribution",
                            data: {
                                page: this.page,
                                op: "cashlist",
                                xgsign: a
                            },
                            success: function(t) {
                                var a = JSON.parse(n.$Decrypt(t.data.data));
                                n.sharetitle = a.sharetitle, n.shareimg = a.shareimg, n.shareid = a.shareid, 0 == a.info ? a.itemlist && (n.tempItem = n.orderItemList.concat(a.itemlist), 
                                n.orderItemList = n.tempItem, n.orderItemList.length < 10 ? (n.pageMore = 1, n.loadingType = 2) : (n.loadingType = 0, 
                                n.page++), n.attach = a.attach, n.percate = a.percate) : (n.tempPageMore = a.info, 
                                n.pageMore = n.tempPageMore, n.loadingType = 2), e.hideLoading(), n.graceFullLoading = !1;
                            }
                        });
                    },
                    copyId: function(t) {
                        e.setClipboardData({
                            data: t,
                            success: function() {
                                console.log("success");
                            }
                        });
                    },
                    dateToStr: function(e) {
                        var t = 1e3 * parseInt(e), n = new Date(t), a = n.getFullYear(), i = n.getMonth() + 1, r = n.getDate(), o = n.getHours(), c = n.getMinutes();
                        return n.getSeconds(), a + "-" + (String(i).length > 1 ? i : "0" + i) + "-" + (String(r).length > 1 ? r : "0" + r) + " " + (String(o).length > 1 ? o : "0" + o) + ":" + (String(c).length > 1 ? c : "0" + c);
                    }
                },
                computed: {
                    style: function() {
                        var e = this.$systemInfo.info(), t = e.windowHeight - e.iPhoneXBottomHeightPx - e.statusBarHeight - 44;
                        return "height:".concat(t, "px;");
                    }
                }
            };
            t.default = n;
        }).call(this, n("543d").default);
    },
    "67dc": function(e, t, n) {
        "use strict";
        n.r(t);
        var a = n("0e4e"), i = n.n(a);
        for (var r in a) "default" !== r && function(e) {
            n.d(t, e, function() {
                return a[e];
            });
        }(r);
        t.default = i.a;
    },
    9618: function(e, t, n) {
        "use strict";
        var a = n("f1a9");
        n.n(a).a;
    },
    "97e2": function(e, t, n) {
        "use strict";
        (function(e) {
            function t(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            n("4e1e"), t(n("66fd")), e(t(n("e5e0")).default);
        }).call(this, n("543d").createPage);
    },
    bafe: function(e, t, n) {
        "use strict";
        n.d(t, "b", function() {
            return i;
        }), n.d(t, "c", function() {
            return r;
        }), n.d(t, "a", function() {
            return a;
        });
        var a = {
            gracePage: function() {
                return n.e("graceUI/components/gracePage").then(n.bind(null, "1915"));
            },
            graceFullLoading: function() {
                return n.e("graceUI/components/graceFullLoading").then(n.bind(null, "7669"));
            },
            graceEmptyNew: function() {
                return n.e("graceUI/components/graceEmptyNew").then(n.bind(null, "fb2f"));
            },
            divider: function() {
                return n.e("components/divider/divider").then(n.bind(null, "bdb7"));
            },
            graceLoading: function() {
                return n.e("graceUI/components/graceLoading").then(n.bind(null, "93a5"));
            }
        }, i = function() {
            var e = this, t = (e.$createElement, e._self._c, 0 !== e.orderItemList.length ? e.__map(e.orderItemList, function(t, n) {
                return {
                    $orig: e.__get_orig(t),
                    m0: e.dateToStr(t.applytime)
                };
            }) : null);
            e.$mp.data = Object.assign({}, {
                $root: {
                    l0: t
                }
            });
        }, r = [];
    },
    e5e0: function(e, t, n) {
        "use strict";
        n.r(t);
        var a = n("bafe"), i = n("67dc");
        for (var r in i) "default" !== r && function(e) {
            n.d(t, e, function() {
                return i[e];
            });
        }(r);
        n("9618");
        var o = n("f0c5"), c = Object(o.a)(i.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        t.default = c.exports;
    },
    f1a9: function(e, t, n) {}
}, [ [ "97e2", "common/runtime", "common/vendor" ] ] ]);